<?php
/**
 * @name commenttype.php
 * @msg 评论类型表
 * @date 2015-07-08
 * @author LL
 */
namespace haibao\comment\model\data;
class CommentType extends \haibao\comment\model\data\Base{
    
    
    /**
     * 评论类型编码
     */
	const TYPE_CODE_ARTICLE = 'ARTICLE';//文章
	const TYPE_CODE_FEATURE = 'FEATURE';//文章
	const TYPE_CODE_BRAND = 'BRAND';//品牌
	const TYPE_CODE_DESIGNER = 'DESIGNER';//设计师
	const TYPE_CODE_STAR = 'STAR';//明星
	const TYPE_CODE_SNS_ANYTOPIC = 'SNS_ANYTOPIC';//专题/造型日历
	const TYPE_CODE_MEIJU_ARTICLE = 'MEIJU_ARTICLE';//美剧文章
	const TYPE_CODE_PIC = 'PIC';//图集
	const TYPE_CODE_MEIJU_INFO = 'MEIJU_INFO';//美剧信息
	const TYPE_CODE_VIDEO = 'VIDEO';//视频
	const TYPE_CODE_HB_HOME_BLOG = 'HB_HOME_BLOG';//博主资讯
	const TYPE_CODE_HB_BLOG_USER = 'HB_BLOG_USER';//博主信息
	const TYPE_CODE_STAR_PK = 'STAR_PK';//明星PK台
	const TYPE_CODE_FASHION_WEAR = 'FASHION_WEAR';//时尚穿搭
    const TYPE_CODE_GOODS = 'GOODS';//商品
	
	/**
	 * 单图评论
	 */
	const TYPE_CODE_IMAGE_LIBRARY = 'IMAGE_LIBRARY';
	
    /**
     * 正常状态
     */
    const STATUS_OK = 1;
     
    /**
     * 已删除
     */
    const STATUS_DELETE = 0;
    
    /**
     * 类型
     */
    public $TypeName;
    /**
     * 说明
     */
    public $TypeDesc;
    /**
     * 创建者
     */
    public $CreateBy;
    /**
     * 创建时间
     */
    public $CreateTime;
    
    /**
     * 类型编号
     */
    public $TypeCode; 
    /**
     * 类型状态
     */
    public $TypeStatus;
    
    public $CreateUserName;
    
    public function __construct() {
        parent::__construct();

        $this->stringField('TypeName','TypeName',true);
        $this->stringField('TypeDesc','TypeDesc');
        $this->stringField('TypeStatus','TypeStatus');
        $this->intField('CreateBy','CreateBy',true);
        $this->dateField('CreateTime','CreateTime',true);
        $this->intField('TypeCode','TypeCode',true);
        $this->setTableName('CommentType');
    }
}
